<template>
  <div class="wrapper-main">
    <div class="banner-box">
      <el-carousel height="500px">
        <el-carousel-item>
          <div class="banner-item one" />
        </el-carousel-item>
        <el-carousel-item>
          <div class="banner-item two" />
        </el-carousel-item>
      </el-carousel>
    </div>

    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <h1>Home Page</h1>
    <float-view :json="json" />
    <BackTop />
  </div>
</template>

<script>
import FloatView from '@/components/FloatView'
import BackTop from '@/components/BackTop'

export default {
  name: 'Home',
  components: { BackTop, FloatView },
  data() {
    return {
      json: {
        src: 'https://www.ssdfz.net/ImageFiles/20180419130336830.jpg',
        url: 'http://www.baidu.com',
        left: 100,
        top: 400,
        directionX: 0.5,
        directionY: 0.5,
        distance: null,
        interval: 11,
        target: null,
        zIndex: null,
        width: null,
        height: null,
        noHoverPause: null, // 鼠标经过时不停止，为true时不停止
        cursor: null
      }
    }
  }
}
</script>
<style type="text/less" lang="less">
@import "../assets/css/home.less";
</style>
